<!--
 * @Description: 
 * @Version: 0.0.0
 * @Autor: 源
 * @Date: 2022-11-17 15:42:45
 * @LastEditors: 源
 * @LastEditTime: 2022-11-17 16:03:29
 * @FilePath: \pnpm-v3-ts-ui\docs\.vitepress\vitepress\vue\common\vp-icon.vue
-->
<template>
  <span
    class="icon-box"
    :title="title"
  >
    <lm-icon
      :name="name"
      :size="20"
    />
  </span>
</template>
<script lang="ts">
export default {
  name: "VpIcon"
}
</script>
<script setup lang="ts">
const props = defineProps({
  title: String,
  name: String
});
</script>
<style scoped lang="scss">
.icon-box {
  cursor: pointer;
}
</style>
